<template>
  <span>
    <el-text v-if="props.workTaskStatus == 0">待发起</el-text>
    <el-text v-if="props.workTaskStatus == 1" type="error">审批中</el-text>
    <el-text v-if="props.workTaskStatus == 2" type="success">已审批</el-text>
    <el-text v-if="props.workTaskStatus == 3" type="info">已撤回</el-text>
    <el-text v-if="props.workTaskStatus == 4" type="warning">已驳回</el-text>
  </span>
</template>

<script setup>
import { defineProps } from "vue";
const props = defineProps({
  workTaskStatus: {
    type: Number,
    default: -1,
  },
});
</script>

<style></style>
